#include "dataStream.h"
#include "GMK80Reader.h"
#include "GMK80Writer.h"


int main() {

dataStream testFile;

testFile.load("game.gmk");

gameData data;
GMK80Reader parser(&data);
parser.parseData(&testFile,true);

GMK80Writer writer(&data);
dataStream endFile;
writer.writeData(&endFile,true);

endFile.save("game2.gmk");

getchar();

}